package com.choosefine.springboot.devops.bargain.model;

import java.util.Date;

/**
 * Created by dzq on 2017/1/7 0007.
 */
public class Bargain {

    /**
     * 序号
     */
    private Integer id;
    /**
     * 参与id
     */
    private Integer participateId ;
    /**
     * 活动id
     */
    private Integer  activityId;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 砍价价格
     */
    private Double price;


    private Date createTime;
    private Date updateTime;
    /**
     * 状态：1有效，2失效
     */
    private Byte status;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getParticipateId() {
        return participateId;
    }

    public void setParticipateId(Integer participateId) {
        this.participateId = participateId;
    }

    public Integer getActivityId() {
        return activityId;
    }

    public void setActivityId(Integer activityId) {
        this.activityId = activityId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }
}
